package com.bean;

import java.util.List;

public class VideoListBean {


    /**
     * code : 1
     * msg : 请求成功
     * time : 1595506333
     * data : {"total":2,"per_page":"10","current_page":1,"last_page":1,"data":[{"id":2,"name":"发的第二条","title":"来跟我一起学习发视频吧","image":"https://oss.bigchun.com/culture/uploads/20200514/9f854f3f5aa4d2bf292e172e958cb49c.jpg","cate_id":1,"free_type":"0","video_file":"https://oss.bigchun.com/culture/uploads/20200522/c9e08f8df9e3896930b0732175f85f6c.mp4","study_num":0,"free_type_text":"免费"},{"id":1,"name":"发的第一条视频","title":"来跟我一起学习发视频吧","image":"https://oss.bigchun.com/culture/uploads/20200507/305b5563f91ab7fff1779f10b5df2d29.jpg","cate_id":1,"free_type":"0","video_file":"https://oss.bigchun.com/culture/uploads/20200522/71360773a7e87095241642dbd9bcc7ea.mp4","study_num":2,"free_type_text":"免费"}]}
     */

    private int code;
    private String msg;
    private String time;
    private DataBeanX data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public static class DataBeanX {
        /**
         * total : 2
         * per_page : 10
         * current_page : 1
         * last_page : 1
         * data : [{"id":2,"name":"发的第二条","title":"来跟我一起学习发视频吧","image":"https://oss.bigchun.com/culture/uploads/20200514/9f854f3f5aa4d2bf292e172e958cb49c.jpg","cate_id":1,"free_type":"0","video_file":"https://oss.bigchun.com/culture/uploads/20200522/c9e08f8df9e3896930b0732175f85f6c.mp4","study_num":0,"free_type_text":"免费"},{"id":1,"name":"发的第一条视频","title":"来跟我一起学习发视频吧","image":"https://oss.bigchun.com/culture/uploads/20200507/305b5563f91ab7fff1779f10b5df2d29.jpg","cate_id":1,"free_type":"0","video_file":"https://oss.bigchun.com/culture/uploads/20200522/71360773a7e87095241642dbd9bcc7ea.mp4","study_num":2,"free_type_text":"免费"}]
         */

        private int total;
        private String per_page;
        private int current_page;
        private int last_page;
        private List<DataBean> data;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public String getPer_page() {
            return per_page;
        }

        public void setPer_page(String per_page) {
            this.per_page = per_page;
        }

        public int getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(int current_page) {
            this.current_page = current_page;
        }

        public int getLast_page() {
            return last_page;
        }

        public void setLast_page(int last_page) {
            this.last_page = last_page;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            /**
             * id : 2
             * name : 发的第二条
             * title : 来跟我一起学习发视频吧
             * image : https://oss.bigchun.com/culture/uploads/20200514/9f854f3f5aa4d2bf292e172e958cb49c.jpg
             * cate_id : 1
             * free_type : 0
             * video_file : https://oss.bigchun.com/culture/uploads/20200522/c9e08f8df9e3896930b0732175f85f6c.mp4
             * study_num : 0
             * free_type_text : 免费
             */

            private int id;
            private String name;
            private String title;
            private String image;
            private int cate_id;
            private String free_type;
            private String video_file;
            private int study_num;
            private String free_type_text;
            private String collection_status;

            public String getCollection_status() {
                return collection_status;
            }

            public void setCollection_status(String collection_status) {
                this.collection_status = collection_status;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public int getCate_id() {
                return cate_id;
            }

            public void setCate_id(int cate_id) {
                this.cate_id = cate_id;
            }

            public String getFree_type() {
                return free_type;
            }

            public void setFree_type(String free_type) {
                this.free_type = free_type;
            }

            public String getVideo_file() {
                return video_file;
            }

            public void setVideo_file(String video_file) {
                this.video_file = video_file;
            }

            public int getStudy_num() {
                return study_num;
            }

            public void setStudy_num(int study_num) {
                this.study_num = study_num;
            }

            public String getFree_type_text() {
                return free_type_text;
            }

            public void setFree_type_text(String free_type_text) {
                this.free_type_text = free_type_text;
            }
        }
    }
}

